import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import 'normalize.css/normalize.css' 

Vue.config.productionTip = false
Vue.prototype.env = process.env
console.log('config dev',process.env)
import  '@/assets/theme/index.css'
//import 'element-ui/lib/theme-chalk/index.css';
import '@style/common.scss';

window.Vue =  Vue
import {
	Avatar,
	Drawer,
  Pagination,
  Dialog,
  Autocomplete,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Input,
  InputNumber,
  Radio,
  RadioGroup,
  RadioButton,
  Checkbox,
  CheckboxButton,
  CheckboxGroup,
  Switch,
  Select,
  Option,
  OptionGroup,
  Button,
  ButtonGroup,
  Table,
  TableColumn,
  DatePicker,
  TimeSelect,
  TimePicker,
  Popover,
  Tooltip,
  Breadcrumb,
  BreadcrumbItem,
  Form,
  FormItem,
  Tabs,
  TabPane,
  Tag,
  Tree,
  Alert,
  Slider,
  Icon,
  Row,
  Col,
  Upload,
  Progress,
  Spinner,
  Badge,
  Card,
  Rate,
  Steps,
  Step,
  Carousel,
  CarouselItem,
  Collapse,
  CollapseItem,
  Cascader,
  ColorPicker,
  Transfer,
  Container,
  Header,
  Aside,
  Main,
  Footer,
  Timeline,
  TimelineItem,
  Link,
  Divider,
  Image,
  Calendar,
  Backtop,
  PageHeader,
  CascaderPanel,
  Loading
} from 'element-ui';

Vue.use(Pagination).use(Dialog).use(Autocomplete).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(Menu).use(Submenu).use(MenuItem).use(MenuItemGroup).use(Input).use(InputNumber).use(Radio).use(RadioGroup).use(RadioButton).use(Checkbox).use(CheckboxButton).use(CheckboxGroup).use(Switch).use(Select).use(Option).use(OptionGroup).use(Button).use(ButtonGroup).use(Table).use(TableColumn).use(DatePicker).use(TimeSelect).use(TimePicker).use(Popover).use(Tooltip).use(Breadcrumb).use(BreadcrumbItem).use(Form).use(FormItem).use(Tabs).use(TabPane).use(Tag).use(Tree).use(Alert).use(Slider).use(Icon).use(Row).use(Col).use(Upload).use(Progress).use(Spinner).use(Badge).use(Card).use(Rate).use(Steps).use(Step).use(Carousel).use(CarouselItem).use(Collapse).use(CollapseItem).use(Cascader).use(ColorPicker).use(Transfer).use(Container).use(Header).use(Aside).use(Main).use(Footer).use(Timeline).use(TimelineItem).use(Link).use(Divider).use(Image).use(Calendar).use(Backtop).use(PageHeader).use(CascaderPanel).use(Loading.directive).use(Avatar).use(Drawer);

new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
